<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>魔豆素材网</title>
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
		<link rel="stylesheet" type="text/css" href="css/public.css"/>
		<link rel="stylesheet" type="text/css" href="css/search.css"/>
		<link rel="stylesheet" type="text/css" href="layui/css/layui.css"/>
		<script src="layui/layui.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<!-- 头部 -->
		<header class="header">
			<div class="header-inner w-m clearfix">
				<div class="logo"><img src="img/logo.png" alt=""></div>
				<ul class="nav clearfix" style="margin-left: 15px;">				
					<li><a href="modou.html">首页</a></li>
					<li><a href="tuku.html" class="active">原创图库</a></li>
					<li><a href="shouhui.html">手绘定制</a></li>
				</ul>
				<div class="search">
					<span class="fenlei">分类<img src="img/xiala.png" alt="">
					<ul class="xiala">
						<li>梦幻小说</li>
						<li>都市小说</li>
						<li>男频封面</li>
						<li>素锦封面</li>
						<li>校园封面</li>
						<li>梦幻小说</li>
					</ul>
					</span>					
					<span class="text">
						<!-- <span>小说首页<i class="layui-icon layui-icon-close" onclick="close()"></i></span> -->
						<input type="text">
					</span>
					<button class="button"><img src="img/search.png" ></button>
				</div>
				<!-- 已登录 -->
				<div class="user clearfix" style="display: none;">
					<img src="img/tx.png" >
					<span>
						张灵灵<br/>
						<font>ID:235342</font>
					</span>
				</div>
				<!-- 未登录 -->
				<div class="reg">
					<a href="login-register.html">登录</a> / <a href="login-register.html">注册</a>
				</div>
			</div>			
		</header>
		<div class="wrap">
			<div class="w-m">
				<!-- 筛选分类 -->
				<div class="choose">
					<div class="nav">
						<span class="layui-breadcrumb" lay-separator=">">
						  <a href=""><cite>当前位置</cite></a>
						  <a href="">小说首页</a>
						</span>
						<span class="count">共 <font>2322</font> 个结果</span>
					</div>
					<div class="fenlei mt30">
						<span class="biaoti">分类：</span>
						<span class="uncheck check">全部</span>
						<span class="uncheck">游戏人物</span>
						<span class="uncheck">人物插画</span>
						<span class="uncheck">网页UI</span>
						<span class="uncheck">高清图库</span>
						<span class="uncheck">设计元素</span>
					</div>
					<div class="geshi mt30">
						<span class="biaoti">格式：</span>
						<span class="uncheck check">全部</span>
						<span class="uncheck">PSD</span>
						<span class="uncheck">AI</span>
						<span class="uncheck">CDR</span>
						<span class="uncheck">EPS</span>
						<span class="uncheck">MAX</span>
						<span class="uncheck">JPG</span>
						<span class="uncheck">PNG</span>
						<span class="uncheck">MOV</span>
						<span class="uncheck">PPTX</span>
						<span class="uncheck">DOCX</span>
					</div>
					<div class="shaixuan mt30">
						<span class="biaoti">筛选：</span>
						<span class="uncheck check">综合排序</span>
						<span class="uncheck">最新上传</span>
						<span class="uncheck">热门下载</span>
					</div>
				</div>
				<!-- 列表 -->
				<ul class="list clearfix">
					<li class="item">
						<p><img src="img/s1.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥9.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s2.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s3.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s4.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥19.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s5.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span></span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s1.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥9.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s2.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s3.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s4.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥19.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s5.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span></span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s1.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥9.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s2.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s3.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span class="free">免费</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s4.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span>￥19.9</span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
					<li class="item">
						<p><img src="img/s5.png" ></p>
						<p class="p1 clearfix">
							<span>魔幻小说首页</span>
							<span></span>
						</p>
						<p class="p2">
							<span><img src="img/star.png" alt="">325</span>
							<span><img src="img/down1.png" >658</span>
							<span><img src="img/eye.jpg" >658</span>
						</p>
						<p class="mengban">
							<span>
								<img src="img/down2.png" >免费下载
							</span>							
						</p>
					</li>
				</ul>
				<div id="demo7" style="text-align: center;margin-top: 18px;"></div>
			</div>
		</div>
		<!-- 底部 -->
		<footer class="footer">
			<ul class="nav">
				<li><a href="">关于我们</a></li>
				<li><a href="">友情链接</a></li>
				<li><a href="">个人会员版</a></li>
				<li><a href="">隐私协议</a></li>
				<li><a href="">服务条款</a></li>
				<li><a href="">联系我们</a></li>
				<li><a href="">加入我们</a></li>
			</ul>
			<p class="flink">
				<a href="">联合推广 market@163.com</a>
				<a href="">友链交换 market@163.com</a>
			</p>
			<p class="ewm"><img src="img/ewm.png"></p>
			<a href="" class="beian">Copyright © 2017 MIUI 京ICP备10046444号 | 京公网安备11010802020134号 | 京ICP证110507号</a>
		</footer>
		
		
		<script type="text/javascript">
			layui.use(['laypage', 'element','jquery','layer'], function(){
			  var laypage = layui.laypage,
				  $ = layui.$,
				  layer = layui.layer,
				  element = layui.element;
				  
				 // 分页 
				laypage.render({
					elem: 'demo7'
					,count: 354
					,layout: ['prev', 'page', 'next', 'count', 'skip']					
					,groups:8
					,jump: function(obj){
					  console.log(obj)
					}
				});
				
				
				// 搜索框
				$(".xiala li").click(function(){
					$(".text").html('<span>'+$(this).text()+'<i class="layui-icon layui-icon-close"></i></span>');
				})
				// 关闭表单内容
				$(".text").on('click','.layui-icon-close',function(){
					$(".text").html('<input type="text">');
				})
				
				// 筛选
				$(".uncheck").click(function(){
					$(this).siblings().removeClass("check");
					$(this).addClass("check");
				})
				
				// 下载
				$(".mengban span").click(function(){
					layer.alert("下载中……")
				})
				
				// 获取所搜词
				$(".search .button").click(function(){
					var search=$(".text span").text()||$(".text input").val();
					if(search.length>0){
						console.log(search)
						window.open("search.html")
					}else{
						layer.tips('请输入搜索词', '.text', {tips: [3, '#00cc90'],time:1500, anim: 6});
						return false;
					}
				})
			});
		</script>
	</body>
</html>
